package com.mobile.service.inter;

import com.mobile.service.dto.PensionDeclarationDTO;
import com.mobile.service.dto.PensionDeclarationQueryDTO;
import com.mobile.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 养老保险申请表Service接口
 */
public interface PensionDeclarationService {

    /**
     * 新增养老保险申请
     */
    Map<String, Object> addPensionDeclaration(PensionDeclarationDTO dto) throws Exception;

    /**
     * 分页获取养老保险申请列表
     */
    PageResult<PensionDeclarationDTO> getPensionDeclarationListPage(PensionDeclarationQueryDTO queryDTO) throws Exception;

    /**
     * 根据主键获取养老保险申请信息
     */
    PensionDeclarationDTO getPensionDeclarationById(String id) throws Exception;

    /**
     * 修改养老保险申请信息
     */
    Map<String, Object> updatePensionDeclaration(PensionDeclarationDTO dto) throws Exception;

    /**
     * 根据主键删除养老保险申请
     */
    Map<String, Object> removePensionDeclaration(String id) throws Exception;

    /**
     * 条件查询养老保险申请列表
     */
    List<PensionDeclarationDTO> getPensionDeclarationList(PensionDeclarationQueryDTO queryDTO) throws Exception;
}
